<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="resources/css/pintuer.css">
<link rel="stylesheet" href="resources/css/admin.css">
<script src="resources/js/jquery.js"></script>
<script src="resources/js/pintuer.js"></script>
</head>
<body>
<form method="post"  id="listform">
  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> 课程列表</strong> <a href="" style="float:right; display:none;">添加字段</a></div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        
     
        <li>
                    <input type="text" name="id" placeholder="请输入搜索ID" name="keywords" class="input" style="width:250px; line-height:17px;display:inline-block" />
      
          <input type="submit" class="button border-main icon-search" onclick="changesearch()" value="搜索"></li>
      </ul>
    </div>
    <table class="table table-hover text-center">
      <tr>
        <th width="100" style="text-align:left; padding-left:20px;">ID</th>
        
        <th>课程名称</th>
        <th>课程介绍</th>
        
        <th width="310">操作</th>
      </tr>
      <tbody>
			<core:forEach var="list" items="${list}">
				<tr>
					<td>${list.id}</td>
					<td>${list.coursename}</td>
					<td>${list.brief}</td>
					
					<td><div class="button-group"> <a class="button border-main" href="update?id=${list.id}"><span class="icon-edit"></span> 修改</a>
					 <a class="button border-red" href="delete?id=${list.id})" ><span class="icon-trash-o"></span> 删除</a> </div></td>
				
				    
				</tr>
				
			</core:forEach>
			
		</tbody>
   		
      
       
         
        
      
    </table>
  </div>
</form>

</body>
</html>